package com.cn.hnust.service;

import java.util.List;

import com.cn.hnust.pojo.Scenic;
import com.cn.hnust.pojo.User;
import com.cn.hnust.util.Page;
public interface IUserService {
	
	public User getUserById(Integer userId) throws Exception;
	
	public List<User> getUsers();
	
	public User getUser(String users);

	public int insert(User user); 

    public int delUser(int id);
    
    public List<User> selectPersons(String userName,Page page);
    
   
    public List<User> queryAllRecord(Page page);

   
    public int getCount();
    
    public int updateByPrimaryKey(User user);
    
    public int getCountmh(String message_name);

	
}
